package com.asistencia.dao.interfaces;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.asistencia.domain.Assistance;

public interface AssistanceDao {

	public int insert(Assistance assistance) throws DataAccessException;
	public int update(Assistance assistance) throws DataAccessException;
	public Assistance getByScheduleEnrollment(Integer idSchedule, Integer idEnrollment) throws DataAccessException;
	public Assistance getById(Integer idAssistance) throws DataAccessException;
	public List<Assistance>  lisByEnrollment (Integer idStudent)throws DataAccessException;
	List<Assistance> lisById(int idStudent) throws DataAccessException;
}
